package com.antdesignbackend.backend.mapper;

import com.antdesignbackend.backend.entity.EarMark;
import com.antdesignbackend.backend.entity.entityVo.EarMarkVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


@Component
public interface EarMarkMapper extends BaseMapper<EarMark> {

    List<EarMarkVo> search(@Param(Constants.WRAPPER) QueryWrapper<EarMarkVo> queryWrapper, Page<EarMarkVo> page);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<EarMarkVo> queryWrapper);

    List<EarMarkVo> search1(@Param(Constants.WRAPPER) QueryWrapper<EarMarkVo> queryWrapper, Page<EarMarkVo> page);
    Integer count1(@Param(Constants.WRAPPER) QueryWrapper<EarMarkVo> queryWrapper);

    List<EarMarkVo> search2(@Param(Constants.WRAPPER) QueryWrapper<EarMarkVo> queryWrapper, Page<EarMarkVo> page);
    Integer count2(@Param(Constants.WRAPPER) QueryWrapper<EarMarkVo> queryWrapper);
}
